<ion-view view-title="产品顾问" class="proconsult">
	<!--一定要手动加导航栏-->
	<ion-nav-bar>
		<ion-nav-back-button>
		</ion-nav-back-button>
	</ion-nav-bar>
	<!--通过副标题来定位-->
	<div class="bar bar-subheader line-bottom" style="padding: 0;">
		<!--描述：顶部模块-->
		<div class="row padding-0 sort margin-top-10">
			<div class="col text-center padding-0 font-middle-my font-gray-my">共为您搜索到 <span class="assertive">{{totalResult}}</span> 条商品信息</div>
			<div class="col col-34 padding-0" on-tap="rightSideMenu()">
				<span>筛选<i class="iconfont icon-shaixuan"></i></span>
			</div>
		</div>
	</div>

	<!-- 侧边菜单 -->
	<ion-side-menus>
		<!-- 中间内容 -->
		<ion-side-menu-content>
			<!--描述：滑动块-->
			<ion-content style="padding-top: 44px;">
				<!--描述：下拉刷新-->
				<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
				<!--描述：轮播广告-->
				<!--<ion-slide-box delegate-handle="advs-handle" auto-play="true" does-continue="true" slide-interval="5000" show-pager="true" pager-click="advsgo(index)">
					<ion-slide ng-repeat="obj in detail.advs">
						<div class="box">
							<img src="{{::obj}}" />
						</div>
					</ion-slide>
				</ion-slide-box>-->
				
				<!--描述：6个按钮-->
				<div class="menus">
					<div class="alert-warning"><i class="icon ion-ios-information"></i>选择不一样的分类出现对应的在线客服和400电话</div>
					<div class="row">
						<div class="col col-33"><img src="./img/pro-menu/icon-consult-menu-shxx.png" />
							<div class="name assertive">销售选型</div>
						</div>
						<div class="col col-33" on-tap="onshow(2,1)"><img src="./img/pro-menu/icon-consult-menu-cpgn.png" />
							<div class="name">产品功能</div>
						</div>
						<div class="col col-33" on-tap="onshow(3,2)"><img src="./img/pro-menu/icon-consult-menu-azys.png" />
							<div class="name">安装演示</div>
						</div>
					</div>
					<div class="row">
						<div class="col col-33" on-tap="onshow(4,3)"><img src="./img/pro-menu/icon-consult-menu-wxys.png" />
							<div class="name">维修演示</div>
						</div>
						<div class="col col-33" on-tap="onshow(5,0)"><img src="./img/pro-menu/icon-consult-menu-shzx.png" />
							<div class="name">售后咨询</div>
						</div>
						<div class="col col-33" on-tap="onshow(6,0)"><img src="./img/pro-menu/icon-consult-menu-shwd.png" />
							<div class="name">售后网点</div>
						</div>
					</div>
				</div>
				<!--描述：列表-->
				<div class="list goods">
					<div class="font-large-my font-gray-my text-center padding" ng-if="list.data.length==0||list.data==null">
						<i class="icon ion-sad-outline font-1rem-my"></i> 对不起，没有符合条件的数据.....
					</div>
					<div class="body" ng-repeat="data in list.data">
						<div class="body-content">
							<div class="boxdow">
								<div class="image" on-tap="goods_info(data.goods_id)">
									<div class="tag"><span>销量：{{data.salenumber}}</span></div>
									<img src="{{data.image}}" ng-if="data.image" />
									<img src="{{noImg}}" ng-if="data.image==''||data.image==null" />
								</div>
								<div class="title ellipsis">{{data.name}}</div>
								<div class="desc">
									<div class="ellipsis" ng-bind="data.introduce?data.introduce:'暂无简介'"></div>
								</div>
								<!--<i class="iconfont icon-qq positive"></i>-->
								<div class="price"><span class="assertive">{{data.price |currency:'¥'}}</span><!--<span class="right-zhang" on-tap="onshow_txcall(data.store_id)"><i class="iconfont icon-1 positive font-large-my"></i></span>--></div>
								<div class="action">
									<a href="tel:{{data.phone}}"><span class="shop"><i class="icon ion-android-call"></i>{{data.phone}}</span></a>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!--描述：当用户到达页脚或页脚附近时-->
				<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
			</ion-content>
		</ion-side-menu-content>
		<!-- 右侧菜单 -->
		<ion-side-menu side="right">
			<!-- 搜索条件 -->
			<ion-content style="padding-top: 44px;">
				<div class="list" style="margin-top: 8px;padding: 0.5rem;">
					<label class="item item-input"><i class="icon ion-search placeholder-icon"></i><input type="text" placeholder="关键字" ng-model="input.key"></label>
					<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">大分类</div>
							<div class="input-value" ng-click="doSelectCat1()">{{input.cat1.name}}</div>
						</div>
						<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">中分类</div>
							<div class="input-value" ng-click="doSelectCat2()">{{input.cat2.name}}</div>
						</div>
						<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">小分类</div>
							<div class="input-value" ng-click="doSelectCat3()">{{input.cat3.name}}</div>
						</div>
				</div>
				<div class="row">
					<div class="col"><button class="button button-full button-energized" on-tap="doCancel()">取消</button></div>
					<div class="col"><button class="button button-full button-assertive" on-tap="doSearch()">确定</button></div>
				</div>
			</ion-content>
		</ion-side-menu>
	</ion-side-menus>
</ion-view>